const express = require('express')
const router = require('./router/user.js')

const server = express()

server.use(express.json())
server.use(express.urlencoded({extended:false}))

server.use(router)


server.listen(8100,(err) =>{
    if(err) console.log('服务器异常！'+err)
    console.log('服务器启动成功！！')
})